<template>
  <md-list >
    <ul v-for="data in list.list.data">
      <li>
        <card :listData = "data"></card>
      </li>
    </ul>
  </md-list>
</template>
<script>
import { mapState, mapActions } from 'vuex'
export default {
  computed: {
    ...mapState(['list'])
  },
  methods: {
    ...mapActions(['getList'])
  },
  components: {
    'card': require('./card'),
    'spinner': require('./spinner')
  }
}
</script>
